home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / misc_pto / boah / boah.doc next >
Text File  |  1987-03-25  |  4KB  |  86 lines

  1.                     BoahCalc Utility Program
  2.                     <c> 1985 by Debbie Cooper
  3.                            Version 2.0
  4.  
  5.  
  6.      BoahCalc  is  a machine language program that allows you  to 
  7. perform addition,  subtraction,  multiplication,  division and  a 
  8. host of bit manipulation functions.  These functions include XOR, 
  9. OR,  SHR,  SAL, SHL, ROL, AND, NOT, RCL, SAR, RCR, and ROR. Those 
  10. who  write assembly language or BASIC programs for the Tandy 1000 
  11. or  other IBM compatible systems will appreciate the wide use  to 
  12. which BoahCalc can be put as the results are readily visible.
  13.      The   BoahCalc   program  (short   for   Binary-Octal-Ascii-
  14. Hexadecimal  Calculator)  is supplied on a  diskette  along  with 
  15. another  file called BOAHCALC.BUF.   This file must be present on 
  16. the  backup  copy at all times in order for the program  to  work 
  17. correctly.
  18.      When BoahCalc is first executed,  you will be presented with 
  19. a screen display which shows the current values, typically set to 
  20. zeros, for Values A, B and C respectively.  On the bottom half of 
  21. the  display  the  various functions that can be  performed  are 
  22. shown,  as  well  as  the function key  commands  to  invoke  the 
  23. functions.
  24.  
  25. Inputting Values
  26.  
  27.      Before  any function can be performed,  the user must  enter 
  28. one  or  both  values A and B.   Note that  some  functions  only 
  29. require  one  value that will be worked on,  others require  both 
  30. Value A and B before the result can be displayed as Value C.
  31.      The  program  automatically defaults to the  input  mode  of 
  32. ascii decimal, however the user may change this by using function 
  33. key  F5.   You will be prompted to enter the letter of the  input 
  34. mode  you wish to use,  B=Binary,  O=Octal,  A=Ascii Decimal,  or 
  35. H=Hexadecimal.   The  method of input that you requested will  be 
  36. shown on the sixth line of the video screen.
  37.      You are now ready to input a number for value A.  To do this 
  38. depress  function key F1.   The cursor will be positioned  beside 
  39. the Value A prompt in the top of the display.   Enter your digits 
  40. and press <ENTER> to signify end of input.   The  binary,  octal, 
  41. decimal  and  hexadecimal  equivalents will be displayed  on  the 
  42. screen.   To  input  a  number for  value  B,  follow  this  same 
  43. procedure.
  44.  
  45. Invoking Functions
  46.  
  47.      After  you have entered values for value A (and/or value  B) 
  48. you  may  perform  any one of the functions listed on  the  video 
  49. display.    First  you  must  select  which  function  you   want 
  50. performed.   To  do  this  depress function key  F3.   The  first 
  51. function,  ADD, will be displayed as reverse video.  You may move 
  52. the  'block' using the left,  right,  up and down arrows  to  the 
  53. particular function you want to execute.  Press <ENTER> to select 
  54. the function.  
  55.      For  example,  if  you  had selected to ADD values A  and  B 
  56.  
  57. together,  you would depress the F3 function key,  press  <ENTER> 
  58. and  the total of values A and B would be displayed as value C on 
  59. the video screen.
  60.      Those  functions  that require only value A in order  to  be 
  61. invoked also display their result in value C.
  62.  
  63. F6 - Move Value C to Value A
  64.  
  65.      This  function  key  when  depressed,  will  substitute  the 
  66. current value of C and copy it into value A.  So if, for example, 
  67. you  wish  to select function SHR (shift right) on value  A,  you 
  68. will have moved it one bit to the right.  The new value or result 
  69. of this operation will be displayed as value C.   If you want  to 
  70. display a second SHR operation on this same value,  then you must 
  71. first  use the function key F6 to transfer the new value to value 
  72. A  and  subsequently  perform  another  SHR  operation  on   that 
  73. variable.
  74.  
  75.        Abort Program
  76.  
  77.      To return control to MS-DOS,  simply depress the F4 function 
  78. key.
  79.     
  80. 
  81. that 
  82. variable.
  83.  
  84.        Abort Program
  85.  
  86.      To return control to MS-DOS